<template>
  <el-dialog title="权限分配" :before-close="handleClose" :close-on-click-modal="false" :visible.sync="visible" class="cu-dialog cu-dialog_center" lock-scroll width="500px">
    <el-row :gutter="15" class="">
      <el-form ref="elForm" :model="dataForm" size="small" label-width="100px" label-position="right" :rules="rules">
        <el-col :span="24">
          <el-form-item label="">
            <div class="schools-list">
              <span>即将为选择的{{ allocationhandleSelection.length }}个校区分配{{ type === 1 ? '辅导师' : '督导师' }}</span>
            </div>
            <span></span>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item :label="type === 1 ? '辅导师' : '督导师'" prop="counselor">
            <user-select v-model="dataForm.counselor" placeholder="请选择" clearable required @change="getConsole" @input="getConsole"></user-select>
          </el-form-item>
        </el-col>
      </el-form>
    </el-row>
    <span slot="footer" class="dialog-footer">
      <el-button @click="onClose()">取 消</el-button>
      <el-button type="primary" @click="dataFormSubmit()" :loading="loading">确 定</el-button>
    </span>
  </el-dialog>
</template>
<script>
export { default } from './index.js'
</script>
<style scoped>
.el-time-spinner__wrapper {
  width: 100% !important;
}
/* @import url(index.scss); */
</style>
